<!DOCTYPE html>
<<<<<<< HEAD
<html xmlns:th="http://www.thymeleaf.org">
=======
<html xmlns:th="http://www.w3.org/1999/xhtml">
>>>>>>> 9a66e53171eff92bf88f5bdf58a30715596c289f
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>高校丘比特后台管理系统</title>
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
<<<<<<< HEAD
		<link rel="stylesheet" th:href="@{/css/me.css}">
=======
		<link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}">
>>>>>>> 9a66e53171eff92bf88f5bdf58a30715596c289f
		<link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">
	</head>
	<body>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
		<div class="m-container-small m-padded-tb-massive" style="max-width: 30em !important;">
			<div class="ui container">
				<div class="ui middle aligned center aligned grid">
					<div class="column">
						<h2 class="ui teal image header">
							<div class="content">
								高校丘比特系统管理员登录
							</div>
						</h2>
						<form class="ui large form" method="post" action="#" th:action="@{/admin/login}">
							<div class="ui segment">
								<div class="field">
									<div class="ui left icon input">
										<i class="user icon"></i>
										<input type="text" name="email" placeholder="email">
									</div>
								</div>
								<div class="field">
									<div class="ui left icon input">
										<i class="lock icon"></i>
										<input type="password" name="password" placeholder="password">
									</div>
								</div>
								<button class="ui fluid large teal submit button">登   录</button>
							</div>
							<div class="ui error mini message"></div>
							<div class="ui negative mini message" th:unless="${#strings.isEmpty(message)}" th:text="${message}">用户名和密码错误</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	<script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
	<script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
	<script>
		$('.ui.form').form({
			fields : {
				username : {
					identifier : 'email',
					rules : [{
						type : 'empty',
						prompt : '请输入用户名'
					}]
				},
				password : {
					identifier : 'password',
					rules : [{
						type : 'empty',
						prompt : '请输入密码'
					}]
				}
			}
		});
	</script>
	</body>
</html>
